# coding:utf-8
# filename: Face.py
# author by: Face
year = int(input("请输入年份："))
if (year % 4 ==0 and year % 100 != 0) or (year % 100 ==0):
    print("True")
else:
    print("False")